﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using WuDada.Core.Member.Domain;

namespace WuDada.Core.Post.Domain
{
    /// <summary>
    /// 活動報名 (用於活動報名，沒有會員的人)
    /// </summary>
    [Serializable]
    [DataContract]
    public class SignUpVO : BaseMemberInfo
    {
        #region Constructor

        public SignUpVO()
        {
        }

        #endregion

        #region Property

        [DataMember]
        public virtual int SignUpId { get; set; }

        /// <summary>
        /// 報名編號
        /// </summary>
        [DataMember]
        public virtual string SignUpNo { get; set; }

        /// <summary>
        /// 報名的會員 (空的則為非會員報名)
        /// </summary>
        [DataMember]
        public virtual MemberVO Member { get; set; }

        /// <summary>
        /// 報名的活動
        /// </summary>
        [DataMember]
        public virtual PostVO Post { get; set; }

        /// <summary>
        /// 推薦人姓名
        /// </summary>
        [DataMember]
        public virtual string RecommendName { get; set; }

        /// <summary>
        /// 報名者確認
        /// </summary>
        [DataMember]
        public virtual bool UserCheck { get; set; }

        #endregion
    }
}
